/*
 * @Date         : 2022-03-02 13:26:42
 * @LastEditors  : zu1662
 * @LastEditTime : 2022-03-03 19:44:36
 * @Description  : Markdown组件封装
 * 
 * Copyright © 2022 by zu1662, All Rights Reserved. 
 */
import React from 'react'
// import 'codemirror/lib/codemirror.css'
import '@toast-ui/editor/dist/toastui-editor.css'
import { Editor } from '@toast-ui/react-editor'
const Markdown = () => {
  return (
    <Editor
      initialValue="hello zu1662!"
      previewStyle="vertical"
      height="600px"
      initialEditType="markdown"
      useCommandShortcut={true}
    />
  )
}

export default Markdown
